package com.bstek.uflo.designer.security.service;

import java.util.List;

import com.bstek.uflo.designer.security.model.NodeSecurityAttribute;
import com.bstek.uflo.designer.security.model.ProcessEntry;

/**
 * @author matt.yao@bstek.com
 * @since 1.0
 */
public interface SecurityService {

	public static final String BEAN_ID = "uflo.designer.SecurityService";

	public ProcessEntry checkProcessSecurity(long processId, String username) throws Exception;

	public List<NodeSecurityAttribute> getNodeSecurityAttributes() throws Exception;

	public String getLoginUsername() throws Exception;
}
